package cn.da.shuai.cool.system.model.entity.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Schema(name = "UpdateDeptUserVo", description = "更新部门用户关系VO")
public class UpdateDeptUserVo implements Serializable {

    @NotEmpty
    @Schema(description = "用户id")
    private Integer userId;

    @Valid
    @Schema(description = "部门用户关系列表")
    private List<DeptUserVo> deptList;
}
